using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace ASP_TF2LogParser.Admin
{
    public partial class ASPAdmin : System.Web.UI.MasterPage
    {
        BR.User _user = null;

        protected void Page_Load( object sender, EventArgs e )
        {
            _user = ( (BR.User) Session[ "User" ] );

            // check authentication
            if ( _user == null || _user.IsValid == false )
                Response.Redirect( "Login.aspx" );

        }
    }
}
